package org.project.single.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.project.single.pojo.dto.OptUserInfoDto;

@Getter
@Setter
@TableName
public class SysRole extends OptUserInfoDto {
    @TableId(type = IdType.INPUT)
    private String id;

    /**
     * 角色code
     */
    private String code;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 描述字符
     */
    private String describStr;

    /**
     * 启用标识
     * 1是 0否
     */
    private Integer enableFlag;

    /**
     * 删除标识
     * 1是 0否
     */
    @TableLogic
    private Integer delFlag;
}
